From fc1a26595ec71d99f107a9ef8be738720f13b27f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 23 Mar 2010 07:29:10 +0000 Subject: [PATCH] xend: fix traceback in pci.py Signed-off-by: Jim Fehlig --- tools/python/xen/util/pci.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/python/xen/util/pci.py b/tools/python/xen/util/pci.py index 1c7be025ef..2a2585d6f7 100644 --- a/tools/python/xen/util/pci.py +++ b/tools/python/xen/util/pci.py @@ -1251,6 +1251,9 @@ class PciDevice: except IOError, (errno, strerr): raise PciDeviceParseError(('Failed to locate sysfs mount: %s: %s (%d)' % (PROC_PCI_PATH, strerr, errno))) + except TypeError, err: + log.debug("Caught TypeError '%s'" % err) + pass def get_info_from_sysfs(self): self.find_capability(0x11) -- 2.30.2